{#include file="top.php"#}
<div class="body">
    <div class="main">
        <div class="reg_step_box" style="cursor:pointer" onclick="location.href='{#$selfurl#}?action=regTrial'"></div>

        <div class="com_reg b_box">
            <div class="hd">
                <h2 class="hd_title">完成註冊</h2>
            </div>
            <div class="bd">
                <p class="c_title">
                    {#if $newMember#}你已完成註冊！敬請到郵件收取確認email
                    <br>
                    立即到試用專區申請試用！
                    {#else#}
                    更新成功
                    {#/if#}
                </p>
                <a href="help.php" class="btn_b btn_b_tutorial"><strong>觀看新手教學</strong></a>
                {#if $memberCondition.homepage#}
                <div class="reg_exp_box">
                    <div class="hd">
                        <h3 class="y_title">尊業體驗團</h3>
                    </div>
                    <div class="bd">
                        <ul class="invite_list v_list">
                            {#foreach  from=$data.2.result item=v key=k#}
                            <li class="b_list">

                                <div class="dashed_r">
									<div class="img_box"><p class="img_p"><a href="{#optimize_url('product', 'invite_inpage', 'mtype='|cat:$v.member_type|cat:'&pid='|cat:$v.id)#}"><span><img src='{#$v._photo_url#}'></span></a></p></div>
                                    <h4 class="product_brand">{#$v.type_name#}</h4>
                                    <p class="product_title">
                                        {#wordscut($v.name,10)#}
                                        <br>
                                        {#wordscut($v.cname,10)#}
                                    </p>
                                    {#if empty($v._difTime.0)#}
                                    <span class="text_over_info"><strong class="text_over">已完結</strong></span>
                                    {#else#}
                                    <span class="rest_time  {#if $v._difTime.1==1#}rest_time_d {#else if $v._difTime.1==3#} rest_time_m{#/if#}">{#$v._difTime.0#}</span>

                                    {#/if#}

                                </div>
                            </li>
                            {#/foreach#}


                        </ul>
                    </div>
                    <div class="ft more_box">
                        <ul class="more_list">
                            <li>
                                <a class="more" href="{#optimize_url('product', 'invite_list', 'mtype=5')#}">更多體驗邀請</a>
                            </li>
                        </ul>
                    </div>
                </div>
                {#/if#}
                {#if $memberCondition.address#}
                <div class="reg_exp_box">
                    <div class="hd">
                        <h3 class="g_title">試用專區</h3>
                    </div>
                    <div class="bd">
                        <ul class="invite_list v_list">
                            {#foreach  from=$data.1.result item=v key=k#}
                            <li class="b_list">

                                <div class="dashed_r">
									<div class="img_box"><p class="img_p"><a href="{#optimize_url('product', 'invite_inpage', 'mtype='|cat:$v.member_type|cat:'&pid='|cat:$v.id)#}"><span><img src='{#$v._photo_url#}'></span></a></p></div>
                                    <h4 class="product_brand">{#$v.type_name#}</h4>
                                    <p class="product_title">
                                        {#wordscut($v.name,10)#}
                                        <br>
                                        {#wordscut($v.cname,10)#}
                                    </p>
                                    {#if empty($v._difTime.0)#}
                                    <span class="text_over_info"><strong class="text_over">已完結</strong></span>
                                    {#else#}
                                    <span class="rest_time  {#if $v._difTime.1==1#}rest_time_d {#else if $v._difTime.1==3#} rest_time_m{#/if#}">{#$v._difTime.0#}</span>
                                    {#/if#}

                                </div>
                            </li>
                            {#/foreach#}


                        </ul>
                    </div>
                    <div class="ft more_box">
                        <ul class="more_list">
                            <li>
                                <a class="more" href="{#optimize_url('product', 'invite_list', 'mtype=1')#}">更多試用邀請</a>
                            </li>
                        </ul>
                    </div>
                </div>
                {#/if#}
            </div>

            {#if $toURL#}<a href="{#$toURL#}" class="btn_s btn_s_im_back"><strong>{#$toURL#}</strong></a>{#/if#}
        </div>
    </div>

    <!-- main-->
    <div class="sidebar">
        {#show_block('b2',1,'','sidebar_ad')#}
        {#show_block('b1',2,'','sidebar_function')#}
        {#show_block('b3',0,'','sidebar_search')#}
        {#show_block('b4',0,'','sidebar_workshop')#}
        {#show_block('b5',0,'','sidebar_top3 b_box')#}
    </div>
    <!-- sidebar -->

</div><!--body-->
{#include file="footer.php"#}